import Vue from 'vue'

import App from './App'
import store from './store'
import router from './router'
import '@/utils/vant-ui.js'
import '@/assets/css/index.scss'
import '@/utils/element-ui.js'
import 'element-ui/lib/theme-chalk/index.css'
import commonObj from '@/utils/methods'
import '@/icons/index.js';

import ElementUI from 'element-ui';
Vue.use(ElementUI);

// 添加所有默认方法
for (const key in commonObj) {
  Vue.prototype[`$${key}`] = commonObj[key]
}
// 阻止显示生产模式的消息
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
